function OpenMotd()
MainMenu = vgui.Create( "DFrame" )
MainMenu:SetSize( 560, 455 )
MainMenu:Center()
MainMenu:SetTitle( "Welcome to " .. GetConVar("hostname"):GetString())
MainMenu:SetBackgroundBlur( true )
MainMenu:SetVisible( true )
MainMenu:SetDraggable( false )
MainMenu:ShowCloseButton( false )
MainMenu:MakePopup()


PropertySheet = vgui.Create( "DPropertySheet")
PropertySheet:SetParent( MainMenu )
PropertySheet:SetPos( 5, 30 )
PropertySheet:SetSize( 550, 370 )

local DermaButton = vgui.Create( "DButton", DermaPanel )
DermaButton:SetText( "Accept" )
DermaButton:SetSize( 560, 25 )
DermaButton:SetPos( 0, 405 )
DermaButton:SetParent( MainMenu )
DermaButton.DoClick = function()
MainMenu:Close()
end

local DermaButton = vgui.Create( "DButton", DermaPanel )
DermaButton:SetText( "Decine" )
DermaButton:SetSize( 560, 25 )
DermaButton:SetPos( 0, 430 )
DermaButton:SetParent( MainMenu )
DermaButton.DoClick = function()
MainMenu:Close()
RunConsoleCommand( "disconnect" )
end

local TabOne = vgui.Create( "DPanel" )
TabOne:SetVisible( true )
local Info = vgui.Create("DLabel", TabOne)
Info:SetText(
//###################################
[[
REMEMBER IT!!!!
1. 
2. 
3. 
4. 
5. 
6.
]]
//################################### end
)
Info:SetTextColor( Color( 0, 0, 0, 255 ) )
Info:SetPos( 5, 20 )
Info:SizeToContents( )

local TabTwo = vgui.Create( "DPanel" )
TabTwo:SetVisible( true )
local Info = vgui.Create("DLabel", TabTwo)
Info:SetText( 
//###################################
[[
Onwer: Robo LV/RUS

Super Admin: Felix

Admins: Dead, -NEGI-, nick01234

Moderators: Halo(fag), Apple

Builders: maiha|:)|, AleXanDeR
]]
//################################### end
)
Info:SetTextColor( Color( 0, 0, 0, 255 ) )
Info:SetPos( 5, 20 )
Info:SizeToContents( )

local TabThree = vgui.Create( "DPanel" )
local Info = vgui.Create("DLabel", TabThree)
Info:SetText( 
//###################################
[[
Also went our site: torengo.dyndns.org

Our servers:

Fretta - IP: txrx.lv:27015
Build (Sandbox) - IP: txrx.lv:27016
]]
//################################### end
)
Info:SetTextColor( Color( 0, 0, 0, 255 ) )
Info:SetPos( 5, 20 )
Info:SizeToContents( )

PropertySheet:AddSheet( "Rules", TabOne, "gui/silkicons/exclamation", false, false, "Rules!" )
PropertySheet:AddSheet( "Admins", TabTwo, "gui/silkicons/shield", false, false, "Admins!" )
PropertySheet:AddSheet( "About", TabThree, "gui/silkicons/page_white_wrench", false, false, "About!" )

end
concommand.Add("OpenMotd", OpenMotd )
